Fixed a few bugs in the specs and controller generators