Removed printf statements.