Removed some unused code (debugging outputs).