BUG: Do not try to set non-existent items.