Hiding private switch now hides private functions too.