add missing Smarty bits