Added a getter function to the mapper to return the current connections.