Removed print statements used for debug output before.