Made isType const.