Add some documentation about globals in ffi docs