Add instanceof testing on interface instances.