Added getConnectorClass() to networks for specifying the class