Bit of work on mod loading.