Beginnings of the extension bootstrap.
Support for detecting extensions.