Don't derive from Copy for bitflags
Use unboxed closures in `NativeRef` and `Context`/`Builder`