Now works with SQLAlchemy models with __init__ functions