It has been noted that an awful lot of Sixties sitcoms have variants on the premise of "Guy with Big Secret that will ruin his life if it gets out" -- he talks to his horse, his wife's a witch, his roommate is from Mars -- and it has also been noted that one could fill in the blank with "Uh, he's gay," without changing a whole lot.