Added the registry class