Move keys inside conditional.