Change the polyglot hook.