rename MediatorCallbackType to MediatorCallbackFunc.