Decorator routes as in Flask.