Changed export logic to export single variable/property.