export: add support for CAF