Wire up listeners.