Adds override functionality to class capacity script.

One extra thing that didn't make it into #661.  Now nonurgent.