registry class