Add search for fields in parent classes.