Code formatting.
Add connecting state.