Originally planned to be a standalone mythology episode, but the news of Gillian Anderson's pregnancy led to the creation of a two-part episode, since the production crew knew they needed Anderson to disappear until she had given birth.
The aliens seen at the start of the episode were portrayed by children.