Fix IDispatcher to recognize the new register function