Modularize disabling security features