Some resolver ideas. Hmm, need a better URI factory.