Involved in mRNA export coupled transcription activation by association with both the TREX-2 and the SAGA complexes. The transcription regulatory histone acetylation (HAT) complex SAGA is a multiprotein complex that activates transcription by remodeling chromatin and mediating histone acetylation and deubiquitination. Within the SAGA complex, participates in a subcomplex that specifically deubiquitinates histones. The SAGA complex is recruited to specific gene promoters by activators, where it is required for transcription. The TREX-2 complex functions in docking export-competent ribonucleoprotein particles (mRNPs) to the nuclear entrance of the nuclear pore complex (nuclear basket). TREX-2 participates in mRNA export and accurate chromatin positioning in the nucleus by tethering genes to the nuclear periphery (By similarity). Component of the nuclear pore complex (NPC)-associated TREX-2 complex (transcription and export complex 2). Component of the SAGA transcription coactivator-HAT complex. Within the SAGA complex, participates in a subcomplex of SAGA called the DUB module (deubiquitination module) (By similarity). Belongs to the ENY2 family.