Change instances of UI to Template