Rename |name| to |type| for the DataStore interface.