Added support for LightPath

This is the code required to support LightPath