Use extend-type to extend a type with a protocol.

Wrong use of extend-protocol. Use extend-type instead.
Merge pull request #15 from dakatapetrov/patch-1

Use extend-type to extend a type with a protocol.