public function type() is in Kohana_Asset but block.php is extending Asset thus doesn't have acces to type()