adding registry class