Cleaned up the cutcp rs code.