Export the Type constructor from main.js.

This allows other modules to define their own extension types.