Fix registing wire method to mruby.