The command \definenote is used to define your own variants of footnotes or endnotes.
All issues with: