Entitymanager done for now.