Administrivia

This patch series consists of minor cleanups and some code restructuring. The biggest change is the last patch, which wraps every declaration in an if block so that the polyfill integrates transparently with a partial native implementation.