If you're ok with it, I think a config parameter might be the best solution.