Move docstring out of function body