That's an implementation detail. Several parts of Firefox and Chrome are implemented internally as extensions.