New method for enabling and disabling modules.