Add support for type aliases through paths.