Macros for saving and loading the context