Cleanup of the configuration