Implement 'insert_obj' and 'remove_obj' opcodes