Fully deferred template resolution