Prefer kind_of? over is_a?