Add gets and sets to database object classes.