add support register.*Listener() method as a listener.