Removed lots of print and debug statements.