Revert some debugging code