Clean out unused code from liblights