genericize server.Paths