Use PlatformContainer.withType(NativePlatform) instead of a custom filter method