Minor cleanup to useParameterNames code