H2O + O-phospho-L-seryl-[protein] = L-seryl-[protein] + phosphate H2O + O-phospho-L-threonyl-[protein] = L-threonyl-[protein] + phosphate Binds 1 Mg(2+) or Mn(2+) ion per subunit. Belongs to the PP2C family.