Add code docs for legacy loader module.