updated header for new signature of exportObject