Added metadata on completion of processing.