Fixes: #2721 wrong class in tpl_parse call in functions.inc