Remove pointless debug code