Added entity base class.