Documentation, coding style and pylint fixes