Improve path resolver interface.