object_as_type: set commit index