Added support to hide/show components.