Add tpl support.