add an expand-to-foreign method for foreign-enum