Fixed some of the editor's warnings