Resolved pylint errors