Restores properties.