Accept limit and offset.

Signed-off-by: Carlos Escribano Rey <carlos@markhaus.com>