Tidy up code in developer/view guide