Fix documentation and examples to reflect new api