Removed the static methods out of the class and put them in global space for the TI compiler