document the Registry class