Remove _encoder variable.
Remove intermediate event emitters.
Remove intermediate file in cli.js.