The Doctor gives a little lecture about gender identity. It comes a bit out of nowhere. (I would applaud it if they explored the idea a little more in depth through the episode or the show, but it feels a bit like "hey by the way we need to say something cool so here it is. ok, done.").