Fixed two typos from the Node to Endpoint conversion.