Added an interface for use with database model classes.