Extend the sqlalchemy base class with dict-like accessors.
Correct a typo.
This requires an explicit session now.
Add a backref.