Improved external tools API.