remove is-type-of dependence