Added support for type aliases.