Removed console.log debugging.