Move config to be 3rd param in controller