Registration class