Allow calling url() statically.
Add InstanceCache for maintaining unique instances per model and id.