1.27: debugEvents removed, debugData removed, DEBUG_MODE removed, listener methods renamed