Added methods not using Flask application context