Fix the compatibility of the FeatureContext class.