While he didn't write every episode, he was the driving force behind the show's concept, characters, and overarching story. He served as the showrunner for the first five seasons and wrote many of the most iconic episodes, including the pilot and the series finale.