Updating class visibility