Better bindings.  Fixes #29.