Removed console.log debugging statement.