Removed ab-using refname and refvalue.