Don't display 'undefined' in the console.