Added base entity class.