Made isHidden a public method.