Add mechanism to skip hooks.  Closes #40.