Check capacity on registration

Fixes #103.