End of FFI trait implementation