Fix type() to handle missing values; the default dictionary interferes
with correctly returning 'none' for missing keys.
Minor doc improvement.