Support module.exports-style export
Add a diagram for merge method