Fix export mechanism.