 SPOILER: This episode contains two major references to "classic"  Doctor Who episodes. The Macra first appeared in the 1967 episode  "The Macra Terror", and the Doctors description of Gallifrey is  identical to that given by Susan in the 1964 episode "The  Sensorites".