Removed FFI dependency