Resolve minKey shadowing warning.