docstrings correction and restyling