Add support for module extension.