minor changes on the registry class