Updated example of implementing a protocol.

These changes demonstrates a more usable protocol implementation.