Add documentation to protocol definition