Convert some instance methods to static methods so they can be more easily be used by other classes.