Remove method getKinds from SubscriptionBaseVisitor