Removed debugging message in EntityFactory