Is there a way to put a limit on class registration?