The subplot of "The Mansion Family", where Mr. Burns gets a medical examination, was inspired by Swartzwelder's own visit to a Mayo Clinic. George Meyer, an executive producer on the series, has said that "John, I don't think he is a guy who goes to the doctor very often. And every 20 or 30 years, he decides he needs to get a tune up. So he went to the Mayo Clinic, had they give him an entire battery of tests. And as John [jokingly tells it, they said that his constant smoking had done no harm to him whatsoever. Might even be benefiting him." While writing the parts of the episode that involve international waters, the writers did research and found that the actual laws of international waters are more complex and ambiguous compared to what they had already written in the story, but they decided to ignore that.