Added support for hidding elements