Added support for passing in an iterable list of integers/longs.