Rework PrismParameterHandler to be both easier yet more flexible
merging c7dbaa1