minor improvements to error reporting for (Std)ValueInstantiator