Add documentation, and fix a notice during install.