Support setting offset.