Use env.resolver instead