Refactor: commented sample client code.