Primary node: Moved some highly-repeated code into a nice macro.
Primary node: Fixed documentation for RC node interactions with the Primary node.