ffi_def_create reorganization