Update docstrings and small parentheses changes