Updating sample code for consistency. Z
Updating documentation to match code examples. Z