Interim.
Restore gamma and histogram functionality.