Add startService and stopService methods to the plugin