Improvements for graph problems.