River says "One should always have something sensational to read on a spaceship." This echoes the line from The Importance of Being Earnest: ""I never travel without my diary. One should always have something sensational to read in the train."
Which follows this episode (in River's timeline) and first dropped in references to River and the Doctor's shared history, including their night in Darillium.