Fixed export of registry data.