Refactor Param.process method