Tidy up the code items output