Fixed #30 - Renamed DBSession to db.