Moved to the Flask/SQLAlchemy models