Use getSimpleValueType in a few spots where the type should be simple.