Updated documentation of Thread class and associated classes