Added registry callback