Add support for archive thread.