public function __construct(array $config = array()) { // this ugly way to add new status, Kohana shame if (!isset(Response::$messages[422])) { Response::$messages[422] = 'Unprocessable Entity'; } parent::__construct($config); }