Allow calling `.add()` from JavaScript.
Allow calling
.add()from JavaScript.