v0.1.1 - correct API to work well in ES6 modules