Added in Smarty 3.1.13 for testing