Removed unnecessary isInterval and isBasicType methods