Renamed frequency to quantity to better reflect what the field does.