Added more exceptions for JADE compatibility.

Also fixed the name of the Agent controller.