'gets called when we class decorate'

def __call__(self, _handler):

    name = ((self.name and self.name) or _handler.__name__)
    self._routes.append((self._uri, _handler, name))
    return _handler
