Renamed propertyName to type