I have a feeling that maybe the "cypress way" of doing this would be to aliases. But one thing I don't like about aliases is that it seems they are global variables inside of cypress. So I guess you have to be careful about not reusing the same alias when making these wrapper classes.