```\nfunction setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {\n    require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");\n\n    _setAutomatedMarketMakerPair(pair, value);\n}\n```\n