Added methods for Thread