hashmap: Clean up API slightly, remove unused arguments now that we're out of git(1).