This moves the remaining loading function to Loader (together with its associated support functions).