Fix a typo and add documentation