Added code for lx support.