Added console.log wrapper.