The onCreate hook disappeared

I think in the merging this hook disappeared from the original pull request for the debug hooks.