@yebblies `visitor.h` is a small header that doesn't pull many dependencies, but point taken. @MartinNowak that unfortunately only helps one level of inheritance.