Allow overriding the default value type.