Updating references, adding local ref to plugin.