Minor nitpick, since type is surrounded with double quotes, perhaps name should be too just for consistency?