Cleaning up Codes