Remove functions: getItem, popItem.
Fix update slot function.