Implemented getDiryObjects Method in Registry