Removed spurious console.logs.