Fixed a few issues related to editor API access