Fix double mode-hook snafu.