It seems that you can add consts for `poweron.*` and `poweroff.*` strings and also build `defaultResources` using these consts. So you could use it like `powerValues[POWERON_IMG] || DEFAULT_RESOURCES[POWERON_IMG]`. That might save us from potential typos :).