Add documentation for protocols
Fix doc