Move AFPlatformHelper into a category.