Moved some core utility functions to SQLAlchemy-Utils