Use references to avoid crashes in the connection manager.
Spelling.