Fixed typo and added some documentation