If you look the code flow of `spec` you will see that `resolve` also accepts a hash with the configuration, so I think we can't change to `env`. I'd be great if we always use the instance configuration and always use the environment as argument for both `spec` and `resolve`