Changing the use of the abstract FeatureSpec class to use the trait instead.