added support for removeItem.