Add CLASS/checkIsInstanceOf function.