Rewritten parts of the documentation