This error doesn't clear the keyboardLayouts.  Is this what you want?