Before adding a method declaration editor component