Only validate keys once