public function callAction($method, $parameters)
	{
		$response = $this->response();
		$action_response = parent::callAction($method, $parameters);
		
		switch (true) {
			case $action_response instanceof Model:
				$response->setContent(Api::transform($action_response));
				break;
				
			case $action_response instanceof Collection:
				$output = array();
				foreach ($action_response as $model) {
					$output[] = Api::transform($model);
				}
				
				$response->setContent($output);
				break;
				
			case $action_response instanceof Paginator:
				$output = array();
				foreach ($action_response->getCollection() as $model) {
					$output[] = Api::transform($model);
				}
				
				$response->setContent($output)
					->header('Pagination-Page', $action_response->currentPage())
					->header('Pagination-Num', $action_response->perPage())
					->header('Pagination-Total', $action_response->total())
					->header('Pagination-Last-Page', $action_response->lastPage());
				break;
				
			case $action_response instanceof Response:
				$response = $action_response;
				break;
				
			default:
				$response->setContent($action_response);
		}
		
		return $response;
	}