revert change to ReferencesMany.prototype.add

Signed-off-by: Clark Wang <clark.wangs@gmail.com>