Added inheritence visitor