In Heaven Sent, the speech the Doctor monologues at the beginning is barely seen visible on the wall (5 minutes, 9 seconds in) What I love is that it implies that this is part of the design. The castle itself told him about the Veil and that it would kill him if it touched him. I wonder if the time lords wrote this or not..