Add merge function prototypes