Fix typos and broken reference links.