Extract paths out of endpoints to allow more elegant chaining of resources.