Restored logic for managing named connections.