Add a smarty renderer.