We can safely remove the last `offset += trailing.length` line here.