 Although Judd Apatow (qv) only received a credit as producer he  also was one of the films writers. He was denied a screenwriting  credit by the Writers Guild of America and challenged the ruling,  claiming that he wrote much of the movies dialogue and many of the  scenes.