Fixed KeyError arising from requiring displayName and type