AbstractBaseEntity reimplemented.