Moved non-instance dependent methods from class to function (pylint)