add more support for plugin access