Make LightingState and FogState derive from Hashable