Cleaned up debugging code.