Cleanup pseudocode.