Fix RIO bindings