El último de los Señores del Tiempo
Early in the episode, the Doctor states his desire to meet Agatha Christie. This is a reference to "Last of the Time Lords".