public static function asArray($collection, $safe = false, $eager = false) {
		$elements = array();

		foreach($collection as $key => $element)
			$elements[] = $element->asArray($safe, $eager);

		return $elements;
	}