Cleaning up codes.