Hack to convert in a ginn package.