Added a signal listener.