Removed console debug statements.