 The shows characters where based on the actual actors playing them  and the series pilot wasnt written until all the actors were cast.  The pilot episode was largely improvised with the actors making up  most of their own dialogue.