Add profiling to squash

Case classes?