New feature was implemented in #37 but not covered with tests. Need to add tests to make a stable release.