migrated to stateful resolver.