Big doco cleanup