Add missing docstring
Remove trailing slash and some pylint errors