hide without parameter and hide for methods