Abstracted out the constants in render