Ensure that keys are kept constant even if invoked multiple times.