Allow customizing the limit

The previous limit was being restricted to 20.  However the iterator was respecting the limit option when iterating.