Refactor lighting.