Revert "adds callback parameter to $add()"

This reverts commit b43b51238b5a030316f3985f3c288eceaec0da77.