Moved docstring to the top.