Renamed hooks: run debug hooks first.