Refactoring in PlatformDependence implementations