Added functions to return last subscription information for export.