I think doing a set union might have been simpler/clearer - combine the current value with `$extra_models` and run it all through `uniq`. But this is fine, it'll still produce the same output..