Adding wrapper for SQLAlchemy