SetEntityName method added