Export applyType.
Fix regression due to renaming.