Python utility class used in various tools.