Refactored PathParam usage