Added and corrected documentation