Not building light class for local class (to fix exception in tests).