Updating visibility classes to new syntax