Changed slotmap interface and implementation a little