But that's how that happened. God, it was fun." Whedon stated that he was surprised with the amount of input he was allowed with the script.
As a result, that's how things transpired. Whedon remarked that he was taken aback by the extent of his creative latitude in the script.