Allow types to be configured as scalars.