Removed unnecessary console logs.