Loosen the generic constraint of RubyRange