Add visibility diagnostics