This looks like a great idea. It would be a great improvement if this made it in to core when it's more mature.