Fix for exporting properties with factories.