Refactored static methods in separate Utilities class.