__typeof__

I had to switch to use `__typeof` because `typeof` was throwing warnings and errors.