Fixed up a bunch of documentation.