Use defmethod instead of creating an add-method function.

Disable humane output if the INHUMANE_TEST_OUTPUT environment variable
is defined.
Document INHUMANE_TEST_OUTPUT environment variable.