Removed console.log debug.