Added setter at entitymanager