get registry class