Place templates in a second closure.