This is neat. I recon we might want to do this exact thing in other places as well, but I guess we can refactor that then.