Preparing some classes for loading and saving.