Improve deferred resolution of subview types and templates