Added support for variables within sequences.