Added segment offset for now to support tunneling.