Update tests and docs to use new class-based API with object arguments (clearer for readers of code)
Bump version to 0.11.0