I think the above two should be `final`, and the parameters map should be made immutable using the method in `Collections`.