Cleaned up debug code.