Added support for prefixes to the plugin