def METHOD_NAME(self, app: AppT, *, url_prefix: Optional[str] = None) -> None:
    """Register blueprint with app."""
    url_prefix = url_prefix or self.url_prefix
    # Apply routes
    for route in self.routes:
        self._apply_route(app, route, url_prefix)
    for static_route in self.static_routes:
        self._apply_static_route(app.web, static_route, url_prefix)