add new thread classes.