Cleaning up configurations