Accept the limit & offset parameters.

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