add autolink interface and test for it