Allow a custom controller to be set in helpers