implementing string protocol in plugin instance