Added IsInstanceOf and IsNotInstanceOf for structs