Use AmtrakEndpoint instead of parsing it here