Typhoon initializer - replace instanceof with polymorphism.