Added registry helper.