Added Registry snippet