Remove modules from base