Making key optional condition.