Maybe expand the docstring to document the algorithm being used.