I always see this function used to get the list of the calculators and then pick only one of them. Isn't better to define an utility that given the calculator name and the realm (hazard or risk) returns only the needed calculator class?