Implement getcurhllsym and bindcurhllsym.