Removed extra parenthesis and fixed log formatter.
Fixed docstrings.
Fixed other docstrings.