add static methods disableAll and enableAll