Batteries for SQLAlchemy models