Reduce scope of keys