As suggested by @mrocklin in #171, it would be good to do a release before going further in #170. In addition to changes already in master branch, I'd like to add #145, #146, and a fix to #172.