Move the hooksecurefunc into the initialize.