Added Registry class