Removed parts of Export merge function