Expand code guide, fix typos