Remove code that used platform_family? method.