Throw an error is Plugin.init() doesn't return an object.