Renamed `type' subcollection to `data'.