Register and confirm classes