Refactor load pipeline again.