Generic resolver