Modified ControllerInterface to expect an ArrayObject instead of a normal array.