Fixed Thread class.