Fleshing out the docstring and correcting punctuation.