Elfman has frequently worked with directors Tim Burton, Sam Raimi, and Gus Van Sant, with notable achievements the scores for 16 Burton-directed films including "Batman," "Edward Scissorhands, Charlie and the Chocolate Factory, Alice in Wonderland", and "Dumbo"; Raimi's "Spider-Man", "Spider-Man 2", and "Oz the Great and Powerful"; and Van Sant's Academy Award-nominated films "Good Will Hunting" and "Milk". He wrote music for all of the "Men in Black" and "Fifty Shades of Grey" franchise films, the songs and score for the Burton-produced animated musical "The Nightmare Before Christmas", and the themes for the popular television series "Desperate Housewives" and "The Simpsons".