Ditto on the `TODO` about creating the object in JS as an optimization.