Cleaning context configuration.