Updating documentation to fix examples and mention the new .client property