Provide an enable function instead of modifying hooks unconditionally

It's considered somewhat bad practice to unconditionally
modify hooks in other packages: this small change makes that
step explicit.