slight API refactor
Merge branch 'master' of https://github.com/dfm/ugly