Move docstring to top of method