Removed all "modes" except debug mode.