Fix legay -> legacy.