This map looks a bit stringly-typed. I think this should probably be a case class "Thresholds" with members for "instruction", "method" and so on. What do you think?