Added option that allow unloading as well as preloading.