Fix a bunch of warnings in DCCManager.