Added some listeners.