Changes to activator to allow setting values for value types