I think just having `attr` is sufficient enough here as long as we handle the different types of ranges properly in the matcher.