Use ES6 destructuring to pick up variables from options.
Use ES6 destructuring to pick up variables from options.

This is a fairly unrelated commit. But I noticed the oppurtunity, and
decided to take it.

anandthakker/doiuse