 The space hippie protest "Herbert, Herbert, Herbert!" is a gag,  referring to Trek director Herb Wallerstein and executive producer  Herb Solow. (Spock tells Kirk that Herbert is an official in  Federation history known for his "rigid patterns of thought")