Because Whedon was directing Serenity at the time , and needed time to learn Wonder Woman 's background , he did not start writing until late 2005 . Since Whedon was directing Serenity at the time and required time to research Wonder Woman 's background , he did not begin the screenplay until late 2005 .