The method signatures are fully consistent with the plugin interface which defined in plugin/interface.go
plugin/interface.go