Add plugin.register to the documentation

I was just trying to be more explicit about the loading failed. But I agree with using next as the callback function of the plugin registration.