Fix Theme and Locales to use the new Input API (still under construction).