Reformat, fix typos and clarify CMS API docs.