It's amazing that the Doctor planned everything that happened, the entire season. Kind of like a more benevolent 7th. This is in contrast with tenth's spur of the moment-type brilliant ideas.