Add variable exposure-to-client function, routing variables