Removed old checkTypes method

I deleted all the usages in a previous commit, but forgot to
actually remove the method