Just hacking around Tornado + SQLAlchemy