The regulation of ER export and Golgi retention of ST3Gal5 (GM3/GM4 synthase) and B4GalNAcT1 (GM2/GD2/GA2 synthase) by arginine/lysine-based motif adjacent to the transmembrane domain.