Made compatible with dNotes mod.