Added light sensor support.