[checkmk-commits] Refactoring: Replace conditional with polymorphism.