Register for class