Remove isType methods from utility and use typeof instead