Editing Registry extension logic