add a 'remove' method for indexes. add a protected 'modify' method to dry up the code between the old 'put' and new 'remove' methods.