Mutating pairs and docs
