Added support for db.ReferenceProperty classes.