Fix #143: Change type of endpointAddress.