Add support for nested variable expressions