Add icon-setting and frame code.