Refactors order of exports within modules and lmt objects.