Support both import and export in same file