Removing references to smarty