- Simplify external diff code and make it's api consistent with FFI diff. - Move diff code into separate modules diff_ext and diff_ffi.