It's being converted it to an array anyway, so a method returning an array would even be slightly more convenient.