Finished A* integration.