Update to the new Formula class.