Notes on improvements to code.