readded legacy loader class