Update deprecated type spec