Export applyType.
Fix regression due to renaming.
Merge pull request #1545 from mbebenita/avx

Fixes some regressions.