That is fine. We only check for a limited number of classes here, none of which use multiple inheritance.