Add export type function