Rewriting docs