Added support for saving semantic properties.