Added ability to extend connections.