Adding DynamicMapResolver for transforming objects.