Add listeners.