Changing docs and correcting errors