Needed in export too.