Modified the API substantially to propagate errors better.
This will be version 0.2.0.
Updated.
Bump verison.