Add functions for generating string import/export.