added support for mousecursor classes