PlatformUtil Refactoring