[PERF] always calling :is_a? is pricey