Avoid `console` error in browsers that lack a console.