Cache/reuse templateAdapter instances.