Follow-up to issue #1064884 by drunken monkey, Damien Tournoud: Fixed hook_enable(), hook_disable() and some documentation and comments.