Add methods to apply state to lights.