Cleaning up for multiple levels.