Add some internal docs.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>