Adds DSO visibility attributes