Add Serializable interface to AbstractBaseEntity, removed from other subclasses.