Rewrite docs