added Inspector #ifdefs