Added support for generating default alias for extensions.