Added definition of entity type