Implement module disabling.