Adding registry wrapper