Change variable name for key in key provider function.