Added keyWhenMissing option.