I created a patch that cleans out the function so the DOM is now a lot less bloated with unneeded classes.
I might miss the point why all these classes are added on every media element but they are not needed for the module to work and I don't see the value they add.
Feel free to enlighten me.