Automatic k/v indexing, removal functions