SQLAlchemy & Pyramid enhancements