Cleaning up master.