More protocol work, including docs.