Converted TraitOperation and TraitVector into abstract classes