Added support for shadowing of element pseudo-variables.