Added properties for activating/deactivating modules and debug.