allow matching on subclass