Add entity definition.