Don't overwrite existing hooks.

Fixes #3.