Fix problems in last commit.
Remove console.log.