Using decorators for setting callbacks

E.g.:
@login_manager.user_loader
def load_user(username):
   .....

will make load_user unusable from this module, because the decorator does not return the method (callback) itself.