Finished implementation of archive sink.