added some docs for protocol, actions