This is all code you've seen before. I'm breaking the "full-closure" pull request up into smaller, coherent chunks.