def object(self, *args, **kwargs):
        """Registers a class based router to this API"""
        kwargs['api'] = self.api
        return Object(*args, **kwargs)
Registers a class based router to this API