Include this function in the documentation, and slight reformatting of the docstring so that the docs come out correctly