Simplified things by using untyped Objects instead of DynamicState
instances.