Add more comments to the consensus code.