remove transitive closure computation for classes