Fix warnings in the editor.