Modifying Registry class to support extending of base objects