Revamp doco. WIP.