Prettify some parts of the code.