Added scoped variables.