enqueueBodyCallback = function enqueueBodyCallback(name, callback) {

        // Get callback queue by name, creating first if necessary
        var callbacks = bodyCallbacks[name];
        if (!callbacks) {
            callbacks = [];
            bodyCallbacks[name] = callbacks;
        }

        // Add callback to end of queue
        callbacks.push(callback);

    }
Adds the given callback to the tail of the callback queue for the stream
having the given name.

@private
@param {String} name
    The name of the stream to associate with the given callback.

@param {Function} callback
    The callback to add to the queue of the stream with the given name.