Doc refactor for RST.