Change indentation to spaces and change position of docstrings