Make GraphPath constructor private