Initial implementation for insert/extractvalue.