Added offsetSize callback.