Entity type has to be defined.