Birds of North America Online write that perched Tree Swallows have three types of stretching--two different sorts of wing stretches, and a "gape to stretch jaw muscles..." Finely tuned jaw muscles must be of importance to aerial feeders like swallows.
Robertson et al.). Most birds only use one type of scratching.
Robertson et al.).