dict subclass with slicing and insertion.