Add a more general lights.write method.