Support sqlalchemy 0.9