Add "filter.measurements" function.