Cleaned up before histogram modifications