Fixed issue with path aliases and type extension.