Added dictionary GetOrCreate method.