Make view resolution mechanism pluggable.