`Array(opts[:host])` should do the same and is much shorter.