Removing old is_a? method