Encode some layout variables - use Layout::eSet (closes #4290)