Null checks for listeners.