[FIX] Some pylint warnings fixed.