Fixed the name of get/set_persistence to get/set_entity_persistence