Rename directory_entity to entity.