Removed console outputs used for debugging.