Fixed undefined dataContext. Added removeLoadedModules function.