Clean up my CPU code.