Hook.

This is the hook that Gatelog connects to.