I think that's out of the scope for this issue, but we should talk about it further. The list of pairs and function which applies them all doesn't really help us too much -- we'd still be pretty verbose. A different strategy might be to just have a list of modules which are inspected for appropriate layers. Again, I don't know that that saves much in terms of readability.