Fixed Thread class