Populate and save the domain `Switches` and `Spinners`.