Change documentation and examples to match current implementation.