Works, removing debug hooks.