Mark function as private
A bunch of minor docstring improvements