Update code for future integration in Blender Exporter Core