install.rst,hook.py: Fixes doc format/typos.
document.py: Uses plain classmethod decorator to fix docstring.