Adds citations and fixes a few typos.