Cleaning up clipboard functionality.