Modified how the limit is set.

Limit is either set by a route default or by a client passed parameter.