Add default for undefined items.