Add support for setting variables on links