Adapted and corrected the documentation