Fix wire.js API usage that changed under us