MOVED: import loader to a thead class