Fixed typo and added missing documentation