export MinkDiff in an allocated method