Added Plugin's globalize, exportPlugin and addToInstances