Updated to the new Cordova 3.0.0 plugin signature.