Remove dead debug code