Removed accidental lodash dependency; improved removeItem().