Fix require of Editor