Added module loading and unloading.