Merge: Implement FFI global references in nitg