Moved to `plugin_loaded` call to fix ST3 issues