Add settings form for new variables.

From #6101.