Clean up documentation and correct sample code
2 files changed