Export handles the managed datastreams and cleans up the exported thing in other ways