Dynamic command handling registration/unregistration