Replaces all FormStateInterface references.