Removed unnecessary console.log statements.