Why not just self.setVisibility?