H2O + O-phospho-L-seryl-[protein] = L-seryl-[protein] + phosphate H2O + O-phospho-L-threonyl-[protein] = L-threonyl-[protein] + phosphate Binds 2 magnesium or manganese ions per subunit. Belongs to the PP2C family.