Don't create instance of Registry class