Introduce pathParamInt function