add registry class