$route must be instance of \stdClass