Refined and documented public API. Publish 1.0.0 on NPM.