registry: Make subvalues inherit privacy. Closes GH-519.