Add unregister handler, and add get method support