'Add or replace the set of supported features.
Arguments:
features -- The new set of supported features.'

def set_features(self, features):

    self.del_features()
    for feature in features:
        self.add_feature(feature)
