Remove console.log and dead code.