Make FFI functions private and add tests to verify it.
Do the best I can to make FFI constants and structs private.