added check if clearSmartyCache method exists for v1.5.3