Fix editor warnings