DRY up `unknown_features` calculation