Some open.mp functions have parameters marked as `ref`, but really they're just output. change them to `out`.