Shorten notes and normalize coding style.