Restore protected properties on unserialize