Debug hooks, revert soon.