It seems that Marvel and director Scott Derrickson determined that more scenes were needed after Doctor Strange wrapped filming and a first cut of the film was assembled. According to The Hollywood Reporter, Dan Harmon was brought on board to pen the script for these mysterious additional scenes. Best known for co-creating Community, is Harmon's background an indication that it was determined that Doctor Strange needed more humor?
In addition to his work in TV, Harmon wrote the script for 2006's Monster House and did uncredited script doctoring on 2008's Kung Fu Panda, both animated features.
While it's logical to assume Harmon was hired to inject some humor into Doctor Strange, it's important to remember that Marvel hired Joe and Anthony Russo to helm Captain America: The Winter Soldier at a time when the biggest projects on their resume were Arrested Development and Community. Given Marvel's history of finding talent in unrelated genres, Harmon's hiring doesn't automatically indicate that he was brought
Source: COMIC BOOK MOVIES