 In the pilot episode, Frasier and Martin have a fight over Frasier  just wanting to hear "thank you" from Martin for allowing him to  move in. Before John Mahoney (I) (qv) (Martin) hugs Kelsey  Grammer goodbye in the finale, his line is "Thank you, Frasier."