Fix validation visibility in AS >= 4.1