[export] Refactor export classes.