Hook implementation cleanup.

Pruned hook_config.go, lint/fmt fixes.