Fix things.
Nearly done with documentation.