Added getting the EntityType by string using an Enum.