change getRegionOrParamElement to createRegionOrParamElement to better reflect this method's semantic (create a new RPL element), as getXXX in C++ context typically implies read only semantic.