def METHOD_NAME(app):
    """
    Application extensions initialization.
    """
    extensions = (
        # The extensions in this block need to remain in this order for proper setup
        logging,
        db,
        api,
        logging,
        oauth2,
        login_manager,
        # The remaining extensions
        cross_origin_resource_sharing,
        marshmallow,
    )
    for extension in extensions:
        extension.METHOD_NAME(app)
    # minify(app=app)
    paranoid = Paranoid(app)
    paranoid.redirect_view = '/'