Working version of add-action controller.