Fixed comments, docstrings and newlines