Cant the initialOffsets be supported in this new code? I would like to keep the existing API as intact as possible.