Simpler, yes, but a lot less safe. I strongly recommend reading this value from the config yaml and memoizing it.