Fix controller spec generation

Unless I'm missing something here, this should be the right way.

/ref #135