Fix various typo and update documentation