Add merge category and merge tags function.