 The Doctor previously claimed to have met Shakespeare in the  original series episode "City of Death" however his behavior upon  meeting Shakespeare in this episode suggests hes never met the man  before. The writer of the episode, in an interview, indicated that  lines were written to reference the City of Death meeting, but were  cut so as not to confuse new viewers.