External variable support. I hope it's right.