Actually register our hook