Changes headers to docstrings