Add range and offset support for nodequeues.