SQLAlchemy 0.8 support