Tracking adapter state changes.