Saving and loading done for entities and maps.